﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Contact.aspx.cs" Inherits="Contact" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="Content" runat="Server">
    <div>
        <div class="tille_content">
            Liên hệ</div>
        <div class="clear">
        </div>
        <div class="table_center">
            <table class="tableCSS" cellpadding="0" cellspacing="0">
                <tr><td colspan="2" style="padding-left:20px;"><div class="mytextarea">
                        Website giới thiệu sản phẩm, các sản phẩm được thu thập thông tin từ nhiều nguồn, <br />
                        chúng tôi không chịu trách nhiệm thông tin về các sản phẩm<br />
                        Mọi ý kiến thắc mắc, liên hệ với quản trị viên xin điền mẫu sau... </div>
                </td></tr>
                    
                
                <tr>
                    <td class="t tborder_c">
                        Họ Tên
                    </td>
                    <td class="i tborder_c">
                        <asp:TextBox ID="txtHoTen" CssClass="n" runat="server"></asp:TextBox>&nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="RequiredFieldValidator"
                            ControlToValidate="txtHoTen" SetFocusOnError="True" ValidationGroup="check">Bạn chưa nhập tên</asp:RequiredFieldValidator>
                    </td>
                </tr>              
                <tr>
                    <td class="t tborder_c">
                        Số điện thoại
                    </td>
                    <td class="i tborder_c">
                        <asp:TextBox ID="txtSoDienThoai" CssClass="n" runat="server"></asp:TextBox>&nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ValidationGroup="check"
                            runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtSoDienThoai"
                            SetFocusOnError="True" Text="*"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="RegularExpressionValidator"
                            ValidationExpression="(\d){7,11}" Text="Số điện thoại chưa đúng" ControlToValidate="txtSoDienThoai"
                            SetFocusOnError="True" ValidationGroup="check"></asp:RegularExpressionValidator>
                        <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" TargetControlID="txtSoDienThoai"
                            FilterType="Numbers">
                        </cc1:FilteredTextBoxExtender>
                    </td>
                </tr>
                <tr>
                    <td class="t tborder_c">
                        Email
                    </td>
                    <td class="i tborder_c">
                        <asp:TextBox ID="txtEmail" CssClass="n" runat="server"></asp:TextBox>&nbsp;
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ValidationGroup="check"
                            runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtEmail"
                            SetFocusOnError="True">*</asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtEmail"
                            ErrorMessage="RegularExpressionValidator" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                            SetFocusOnError="True" ValidationGroup="check">Email chưa đúng</asp:RegularExpressionValidator>
                    </td>
                </tr>
                <tr>
                    <td class="t tborder_c">
                        Ý kiến
                    </td>
                    <td class="i tborder_c">
                        <asp:TextBox ID="txtYKien" CssClass="l" Rows="6" TextMode="MultiLine" runat="server"></asp:TextBox>&nbsp;
                        <asp:RequiredFieldValidator ValidationGroup="check" ControlToValidate="txtYKien"
                            SetFocusOnError="true" ID="RequiredFieldValidator5" runat="server">*</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="t tborder_c">
                    </td>
                    <td class="i tborder_c">
                        <asp:Button ID="btnSumit" CssClass="send_button_link" Text="Hoàn thành" runat="server"
                            OnClick="btnSumit_Click" ValidationGroup="check" />
                        <input id="btnReset" type="reset" value="Nhập lại" class="reset_button_link" />
                    </td>
                </tr>
            </table>
            <asp:Label ID="lblThongBao" runat="server" Text=""></asp:Label>
        </div>
        <div class="clear">
        </div>
        <div class="but_center">
        </div>
    </div>
</asp:Content>
